package com.hao.spring;

/**
 * TODO
 *
 * @author 97472
 * @version 1.0
 * @date 2021/11/2 13:24
 */
public class UserService {

    private UserDao userDao;

    public void update(){
        System.out.println("UserService进行了一次update");
        userDao.update();
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
